package net.zjitc.user;

import sun.security.util.Password;

/**
 * @Author admin
 * @Date 2019/3/29 10:39
 */
public class User {
   private   String name;
    private          String password;
  public  User(){}

    public User(String name, String password) {
        this.name = name;
        this.password = password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPassword() {
        return password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
